<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
    <head>
        <title>{% block title %}Shipwreck: A Web based Django MMO{% endblock %}</title>
        <link type="text/css" rel="stylesheet" href="/styles/base.css">
{% block css %}
{% endblock %}
    </head>
    <body>
        <div id="sidebar">
            {% block sidebar %}
            <ul>
            <li><a href="/">Index</a></li>
            {% if user.character %}
            <li><a href="/map">Map</a></li>
            <li><a href="/hunt">Hunt</a></li>
            <li><a href="/rest">Rest</a></li>
            {% endif %}
            </ul>{% endblock %}
        </div>
        <div id="content">
            {% block main %} {% endblock %}
        </div>
    </body>
</html>
